import React from 'react'
import { NavLink } from 'react-router-dom'
export default function Navbar(){
  return (
    <nav className="navbar">
      <div style={{fontWeight:700}}>风电叶片缺陷检测系统</div>
      <div style={{flex:1}} />
      <NavLink to="/">首页</NavLink>
      <NavLink to="/detect">缺陷检测</NavLink>
      <NavLink to="/data">数据管理</NavLink>
      <NavLink to="/chat">智能检索（聊天）</NavLink>
    </nav>
  )
}